﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProDivingAdmin2salmon14
{
    public class ContestData: IContestData
    {
        public bool isFemale;
        public int minAge { get; set; }
        public int divingHeight { get; set; }
        public int judges;
        public string diversPath;
        public string judgesPath;

        public ContestData() 
        {
            this.isFemale = true;
            this.minAge = 0;
            this.divingHeight = 0;
            this.judges = 0;
        }

        public void SetIsFemaleData(bool isFemale) 
        {
            this.isFemale = isFemale;
        }

        public void SetMinAge(int minAge) 
        {
            this.minAge = minAge;
        }

        public void SetDivingHeight(int divingHeight) 
        {
            this.divingHeight = divingHeight;
        }

        public void SetJudges(int judges) 
        {
            this.judges = judges;
        }

        public void SetDiversPath(string diversPath) 
        {
            this.diversPath = diversPath;
        }

        public void SetJudgesPath(string judgesPath) 
        {
            this.judgesPath = judgesPath;
        }


        public bool GetIsFemaleData()
        {
            return this.isFemale;
        }

        public int GetMinAge()
        {
            return this.minAge;
        }

        public int GetDivingHeight()
        {
            return this.divingHeight;
        }

        public int GetJudges()
        {
            return this.judges;
        }

        public string GetDiversPath()
        {
            return this.diversPath;
        }

        public string GetJudgesPath()
        {
            return this.judgesPath;
        }
    }
}
